package com.yunyi.entity.mysql;


import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ChatMessageEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String conversationId;
    private MessageType messageType;
    private String content;
    private LocalDateTime createdAt;

    public enum MessageType {
        USER, ASSISTANT
    }


}
